package com.zhiyou100.model;

public class Star {
    private Integer id;

    private Integer userId;

    private Integer projectId;

    private User user;
    
    private Project project;

	public Star() {
		super();
	}

	
	
	@Override
	public String toString() {
		return "Star [id=" + id + ", userId=" + userId + ", projectId=" + projectId + ", user=" + user + ", project="
				+ project + "]";
	}



	public Star(Integer id, Integer userId, Integer projectId) {
		super();
		this.id = id;
		this.userId = userId;
		this.projectId = projectId;
	}

	public Star(Integer id, Integer userId, Integer projectId, User user, Project project) {
		super();
		this.id = id;
		this.userId = userId;
		this.projectId = projectId;
		this.user = user;
		this.project = project;
	}



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
    
 
    
    


}